#!bin/bash
source ~/.bash_profile 
BUILD_TYPE=Release
BUILD_DIR=cmake_common
rm -rf ${BUILD_DIR}
mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ../common
cmake --build . --config ${BUILD_TYPE}
make 
